 <div class="pad-10">
 
 	<div class="navigate">
		<h1>礼券类型编辑</h1>
		<a class="button fr" href="/index.php/Admin/Bonus/">礼券类型列表</a>
  	</div>
  	
  	
    <div class="col-tab">
      <ul class="tabBut cu-li">
        <li id="tab_setting_1" class="on" onclick="SwapTab('setting','on','',2,1);">礼券类型编辑</li>
      </ul>
      <div id="div_setting_1" class="contentList pad-10">
        <table width="100%" cellpadding="2" cellspacing="1" class="table_form">
          <tr> 
            <th width="100">礼券类型:</th>
            <td>
            	<select id="type_id" disabled="disabled">
            		<volist name="bonusTypes" id="b">
            		<option value="{$b.type_id}" <if condition="$bonus['type_id'] eq $b['type_id']"> selected="selected"</if>>{$b.name}</option>
            		</volist>
            	</select>
            
            </td>
          </tr>
          <tr> 
            <th width="100">礼券类型名称 :</th>
            <td><input type="text" name="bonus_name" id="bonus_name" class="input-text" style="width:300px;" value="{$bonus.bonus_name}" /></td>
          </tr>
          <tr> 
            <th width="100">礼券金额 :</th>
            <td><input type="text" name="bonus_money" id="bonus_money" class="input-text" style="width:80px;" value="{$bonus.bonus_money}" /></td>
          </tr>
          <tr> 
            <th width="100">礼券使用最小订单商品总金额 :</th>
            <td>
            
            	<input type="text" name="min_goods_amount" id="min_goods_amount" class="input-text" style="width:80px;" value="{$bonus.min_goods_amount}" />
            </td>
          </tr>
          <tr> 
            <th width="100">备注说明:</th>
            <td>
            
            	<textarea id="remark" cols="46" rows="3">{$bonus.remark}</textarea>
            </td>
          </tr>
		  <tr>
				<th width="100">开始日期:</th>
				<td>
					<input type="text" style="width:180px;" class="tc Wdate" id="begin" name="begin" onclick="javascript:WdatePicker({minDate:'%y-%M-{%d}'})" readonly="readonly" value="{$bonus.begin}" />
				</td>
		  </tr>       
          <tr>
            	<th width="100">结束日期 :</th>
            	<td>
            		<input type="text" style="width:180px;" class="tc Wdate" id="end" name="end" onclick="javascript:WdatePicker({minDate:'%y-%M-{%d}'})" readonly="readonly" value="{$bonus.end}" />
            	</td>
          </tr>
          <tr>
            	<th width="100">状态 :</th>
            	<td>
					<input type="radio" id="disabled_0" name="disabled" value="0" <if condition="$bonus['disabled'] eq 0"> checked="checked"</if> /> 
					<label for="disabled_0">启用</label> 
					
					<input type="radio" id="disabled_1" name="disabled" value="1" <if condition="$bonus['disabled'] eq 1"> checked="checked"</if>/> 
					<label for="disabled_1">禁用</label>
            	</td>
          </tr>
        </table>
      </div>
    
      <div class="bk15"></div>
      <div class="btn">
      	<input type="button" value="保 存" name="submit" class="button" id="btnSave">
      </div>
    </div>
  </div>
  
  
<input type="hidden" id="id" name="id" value="{$bonus.id}" />
<script type="text/javascript" src="/Js/adm/bonus/detail.js"></script>
<script type="text/javascript" src="/Js/WdatePicker.js"></script>